package com.itheima.service;
/**
* @Author yangshuai
* @Desc:菜品分类-service层接口
* @Date 2022-6-6 15:46:59
* @Version 1.0
**/

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.domain.Category;

import java.util.List;

/**
 * @program: reggie-manager
 * @ClassName CategoryServiceImpl
 * @description://TODO 菜品、套餐分类管理业务接口
 * @author: shan
 * @create: 2022-06-05 11:10
 * @Version 1.0
 **/
public interface CategoryService {
    Page<Category> page(Integer page, Integer pageSize);

    int update(Category category);

    int deleteById(Long id);

    int save(Category category);

    List<Category> findAll(Integer type);
}

